-- GENERATED SPELL FOR [Drakan] --


function spell0_12121(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_12121', 565, 1)
end

function Sorts_12121(pUnit, Event)
local choix_sorts_12121 = math.random(0, 0)
if choix_sorts_12121 == 0 then
pUnit:RegisterEvent('spell0_12121', 1, 1)
end
end

function mob12121_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12121', math.random(1500, 3000), 1)
end

function mob12121_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12121_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12121_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12121, 1, 'mob12121_Action')
RegisterUnitEvent(12121, 2, 'mob12121_Leave')
RegisterUnitEvent(12121, 3, 'mob12121_Kill')
RegisterUnitEvent(12121, 4, 'mob12121_Die')
